package com.sec.domain.mysql.view;

import javax.persistence.*;
import java.sql.Timestamp;

/**
 * 文章视图
 * Created by Administrator on 2017/11/30.
 */
@Entity
@Table(name = "other_view")
public class OtherView {

    @Id
    @Column(name = "o_id")
    private int o_id;
    @Basic
    @Column(name = "o_mc")
    private String o_mc; // 名称
    @Basic
    @Column(name = "o_rq")
    private Timestamp o_rq; // 日期
    @Basic
    @Column(name = "o_dj")
    private int o_dj; // 点击数
    @Basic
    @Column(name = "name")
    private String name; // 分类

    public int getO_id() {
        return o_id;
    }

    public void setO_id(int o_id) {
        this.o_id = o_id;
    }

    public String getO_mc() {
        return o_mc;
    }

    public void setO_mc(String o_mc) {
        this.o_mc = o_mc;
    }

    public Timestamp getO_rq() {
        return o_rq;
    }

    public void setO_rq(Timestamp o_rq) {
        this.o_rq = o_rq;
    }

    public int getO_dj() {
        return o_dj;
    }

    public void setO_dj(int o_dj) {
        this.o_dj = o_dj;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }
}
